﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PretragaDrveca.aspx.cs" Inherits="Stilovi_PretragaDrveca" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script src="Skripte/Master/PretragaDrveca.js" type="text/javascript"></script>
    <link href="Stilovi/pretragaDrveca.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="pretragaForm">
        <p>
            Rod drveta:
        </p>

        <p>
            <asp:SqlDataSource ID="sdsRod" runat="server" 
                ConnectionString="<%$ ConnectionStrings:EnciklopedijaDrvecaConnectionString %>" 
                SelectCommand="SELECT [RodID], [LatinskiNaziv] FROM [Rod]"></asp:SqlDataSource>
            <asp:DropDownList ID="ddlRod" runat="server" ClientIDMode="Static" 
                AppendDataBoundItems="True" DataSourceID="sdsRod" DataTextField="LatinskiNaziv" 
                DataValueField="RodID">
                <asp:ListItem Text="Svejedno" Value="-1" />
            </asp:DropDownList>
        </p>

        <p>
            Visina drveta:
        </p>
        <p>
            <asp:DropDownList ID="ddlVisina" ClientIDMode="Static" runat="server">
                <asp:ListItem Selected="True" Value="1000">Svejedno</asp:ListItem>
                <asp:ListItem Value="5">Do 5 metara</asp:ListItem>
                <asp:ListItem Value="10">Do 10 metara</asp:ListItem>
                <asp:ListItem Value="20">Do 20 metara</asp:ListItem>
            </asp:DropDownList>
        </p>

        <p>
            Minimalna temperatura koju drvo podnosi :
        </p>

        <p>
            <asp:DropDownList ID="ddlTemperatura" ClientIDMode="Static" runat="server">
                <asp:ListItem Value="100">Svejedno</asp:ListItem>
                <asp:ListItem Value="-5">preko -5</asp:ListItem>
                <asp:ListItem Value="-15">preko -15</asp:ListItem>
                <asp:ListItem Value="-25">preko -25</asp:ListItem>
                <asp:ListItem Value="-30">preko -30</asp:ListItem>
            </asp:DropDownList>
        </p>
        <p>Naziv drveta (hrvatski ili latinski) : </p>

        <p>
            <asp:TextBox ID="txtNaziv" runat="server" ClientIDMode="Static"></asp:TextBox>
            
        </p>
            
        <div id="btnTrazi" >Traži</div>
   
       
    </div>
    <div id="pretragaRezultati">

    </div>

    <div id="stranice">
    </div>

</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>

